﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="userinfo.ascx.cs" Inherits="Com.Web.coffinegurunaru.manager.user.userinfo" %>

		  <table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td align="left"><table width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="2" bgcolor="#7a2888"><img src="/images/common/clear.gif" width="1" height="1"></td>
              </tr>
            </table>
              <table border='1' cellpadding='0' cellspacing='0' width='98%' style='border-collapse:collapse' bordercolor='#cdcdcd' frame='void'>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_18.gif" width="101" height="15"></td>
                    <td>
                      <input type="radio" name="IsLocalUser" id="IsLocalUser1" value="Y" <%=UserInfo.IsLocalUser == "Y" ? "checked='checked'" : "" %>>
                      <label for="IsLocalUser1">내국인</label>
                      <input type="radio" name="IsLocalUser" id="IsLocalUser2" value="N" <%=UserInfo.IsLocalUser == "N" ? "checked='checked'" : "" %>>
                      <label for="IsLocalUser2">외국인</label>
                      </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_10.gif" width="68" height="15"></td>
                    <td>
                       <input type='text' name='strUserID' id="strUserID" maxlength='20' size='20' value='<%=UserInfo.UserID %>'>
                     </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_11.gif" width="68" height="15"></td>
                    <td>
                      <input type='password' name='strUserPWD1' id="strUserPWD1" maxlength='20' size='10' value=''>
                    영문/숫자 조합으로 8~16자리. 첫글자는 영문자로 사용</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_12.gif" width="68" height="15"></td>
                    <td>
                      <input type="password" name="strUserPWD2" id="strUserPWD2" maxlength='20' size='10' value=''></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_21.gif" width="101" height="15"></td>
                    <td><label for="radio14"></label>
                     <select name='strBirthday1' id='strBirthday1' class="member_border">
<% for(int i = 1950; i < DateTime.Now.Year; i++) { %>
                        <option value='<%=i %>' <%=UserInfo.GetBirthday(0).Trim() == i.ToString().Trim() ? "selected='selected'": "" %>><%=i %></option>
<% } %>
                      </select>
                      <select name='strBirthday2' id='strBirthday2' class="member_border">
                        <option value='01' <%=UserInfo.GetBirthday(1).Trim() == "01" ? "selected='selected'": "" %>>01</option>
                        <option value='02' <%=UserInfo.GetBirthday(1).Trim() == "02" ? "selected='selected'": "" %>>02</option>
                        <option value='03' <%=UserInfo.GetBirthday(1).Trim() == "03" ? "selected='selected'": "" %>>03</option>
                        <option value='04' <%=UserInfo.GetBirthday(1).Trim() == "04" ? "selected='selected'": "" %>>04</option>
                        <option value='05' <%=UserInfo.GetBirthday(1).Trim() == "05" ? "selected='selected'": "" %>>05</option>
                        <option value='06' <%=UserInfo.GetBirthday(1).Trim() == "06" ? "selected='selected'": "" %>>06</option>
                        <option value='07' <%=UserInfo.GetBirthday(1).Trim() == "07" ? "selected='selected'": "" %>>07</option>
                        <option value='08' <%=UserInfo.GetBirthday(1).Trim() == "08" ? "selected='selected'": "" %>>08</option>
                        <option value='09' <%=UserInfo.GetBirthday(1).Trim() == "09" ? "selected='selected'": "" %>>09</option>
                        <option value='10' <%=UserInfo.GetBirthday(1).Trim() == "10" ? "selected='selected'": "" %>>10</option>
                        <option value='11' <%=UserInfo.GetBirthday(1).Trim() == "11" ? "selected='selected'": "" %>>11</option>
                        <option value='12' <%=UserInfo.GetBirthday(1).Trim() == "12" ? "selected='selected'": "" %>>12</option>
                      </select>
                      <select name='strBirthday3' id='strBirthday3' class="member_border">
<% for(int i = 1; i < 31; i++) { %>
                        <option value='<%=i.ToString().PadLeft(2,'0') %>' <%=UserInfo.GetBirthday(2).Trim() == i.ToString().PadLeft(2, '0') ? "selected='selected'" : ""%>><%=i.ToString().PadLeft(2,'0') %></option>
<% } %>
                      </select>
&nbsp;&nbsp;
<input type='checkbox' name='IsLunar' id='IsLunar' value='T' <%=UserInfo.IsLunar == "T" ? "checked='checked'" : "" %>>
음력 </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_08.gif" width="68" height="15"></td>
                    <td>
                     <input type='text' name='strUserName' id='strUserName' size='15' maxlength='15' value='<%=UserInfo.UserName %>'>
                     </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><!--성별 적용 -->
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_29.gif" width="68" height="15"></td>
                    <td><label for="radio7"></label>
                      
                        <input type="radio" name="codeSex" id="rdoMan" value="1" <%=UserInfo.CodeSex == 1 ? "checked='checked'":"" %>><label for="rdoMan">남</label> 
                        <input type="radio" name="codeSex" id="rdoShe" value="2" <%=UserInfo.CodeSex == 2 ? "checked='checked'":"" %>><label for="rdoShe">여</label>
                      </td>
                  </tr>
                </table>
                  <!--성별 적용 끝 --></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150" height="32"><img src="/images/member/txt_13.gif" width="68" height="15"></td>
                    <td>
                      <input type='text' name='strEmail1' id='strEmail1' size='15' value='<%=UserInfo.GetEmail(0) %>'> @ <input type='text' name='strEmail2' id='strEmail2' size='15' value='<%=UserInfo.GetEmail(1) %>'> 
<select name='strEmail3' id='strEmail3' align='absmiddle'>
  <option value=''>직접입력</option>
  <option value='nate.com'>네이트</option>
  <option value='hotmail.com'>핫메일</option>
  <option value='gmail.com'>구글</option>
  <option value='intizen.com'>인티즌</option>
  <option value='msn.com'>MSN</option>
  <option value='hitel.net'>하이텔</option>
  <option value='netian.com'>네띠앙</option>
  <option value='chollian.net'>천리안</option>
  <option value='freechal.com'>프리챌</option>
  <option value='hanafos.com'>하나포스</option>
  <option value='korea.com'>코리아닷컴</option>
  <option value='lycos.co.kr'>라이코스</option>
  <option value='unitel.co.kr'>유니텔</option>
  <option value='dreamwiz.com'>드림위즈</option>
  <option value='naver.com'>네이버</option>
  <option value='paran.com'>파란</option>
  <option value='yahoo.co.kr'>야후</option>
  <option value='empal.com'>엠팔</option>
  <option value='hanmail.net'>한메일</option>
</select></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td class="small_gray1">커핀그루나루 메일 서비스를 받아보시겠습니까?  
                      <input type='radio' name='IsEmail' value='Y' id="IsEmail1" <%=UserInfo.IsEmail == "Y" ? "checked='checked'" : "" %>>
                      <label for="IsEmail1">수신</label>
                      <input type='radio' name='IsEmail' value='N' id="IsEmail2" <%=UserInfo.IsEmail == "N" ? "checked='checked'" : "" %>>
					  <label for="IsEmail2">수신거부</label>
                     </td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td height="40" class="red">수신동의를 하시면 다양한 할인혜택과 이벤트/신상품 정보를 쉽고 빠르게 만나실 수 있습니다.<br>
                      주문 및 배송관련 메일은 수신동의와 관계없이 자동 발송됩니다.</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_19.gif" width="101" height="15"></td>
                    <td>
                      <select name='n1Question' id='n1Question'>
                        <option value='' <%=UserInfo.Question == 0 ? "selected='selected'" : ""%>>========선택========</option>
                        <option value='1' <%=UserInfo.Question == 1 ? "selected='selected'" : ""%>>기억에 남는 추억의 장소는?</option>
                        <option value='2' <%=UserInfo.Question == 2 ? "selected='selected'" : ""%>>자신의 인생 좌우명은?</option>
                        <option value='3' <%=UserInfo.Question == 3 ? "selected='selected'" : ""%>>자신의 보물 제1호는?</option>
                        <option value='4' <%=UserInfo.Question == 4 ? "selected='selected'" : ""%>>가장 기억에 남는	선생님 성함은?</option>
                        <option value='5' <%=UserInfo.Question == 5 ? "selected='selected'" : ""%>>타인이 모르는	자신만의 신체비밀이 있다면?</option>
                        <option value='6' <%=UserInfo.Question == 6 ? "selected='selected'" : ""%>>추억하고 싶은 날짜가 있다면?</option>
                        <option value='7' <%=UserInfo.Question == 7 ? "selected='selected'" : ""%>>받았던 선물 중 기억에 남는	독특한 선물은?</option>
                        <option value='8' <%=UserInfo.Question == 8 ? "selected='selected'" : ""%>>유년시절 가장	생각나는 친구 이름은?</option>
                        <option value='9' <%=UserInfo.Question == 9 ? "selected='selected'" : ""%>>인상깊게 읽은 책	이름은?</option>
                        <option value='10' <%=UserInfo.Question == 10 ? "selected='selected'" : ""%>>읽은	책 중에서 좋아하는 구절이 있다면?</option>
                        <option value='11' <%=UserInfo.Question == 11 ? "selected='selected'" : ""%>>자신이 두 번째로 존경하는 인물은?</option>
                        <option value='12' <%=UserInfo.Question == 12 ? "selected='selected'" : ""%>>친구들에게 공개하지 않은 어릴적 별명이 있다면?</option>
                        <option value='13' <%=UserInfo.Question == 13 ? "selected='selected'" : ""%>>초등학교 때 기억에 남는 짝꿍 이름은?</option>
                        <option value='14' <%=UserInfo.Question == 14 ? "selected='selected'" : ""%>>다시 태어나면	되고 싶은 것은?</option>
                        <option value='15' <%=UserInfo.Question == 15 ? "selected='selected'" : ""%>>내가	좋아하는 캐릭터는?</option>
                        <option value='16' <%=UserInfo.Question == 16 ? "selected='selected'" : ""%>>나의 주민등록번호	끝자리는?</option>
                      </select>
                      </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_20.gif" width="101" height="15"></td>
                    <td>
                      <input type='text' name='strAnswer' id='strAnswer'  size='25' maxlength='25' value='<%=UserInfo.Answer %>'>
                     </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150" height="32"><img src="/images/member/txt_16.gif" width="68" height="15"></td>
                    <td>
                      <input type='text' name='strPostNo1' id='strPostNo1' size='3' maxlength='3' readonly="readonly" value='<%=UserInfo.GetPostNo(0) %>'> -
                      <input type='text' name='strPostNo2' id='strPostNo2' size='3' maxlength='3' readonly="readonly" value='<%=UserInfo.GetPostNo(1) %>'>
                      <a href="#" id="btnPostSearch"><img src="/images/franchise/bt_address.gif" width="77" height="20" align="absmiddle"></a></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td><input type='text' name='strAddress1' id='strAddress1' size='75' readonly="readonly" value='<%=UserInfo.Address1 %>'style="width:500px;"></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td height="32"><input type='text' name='strAddress2' id="strAddress2" size='75' value='<%=UserInfo.Address2 %>' style="width:500px;"></td>
                  </tr>
                  </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_14.gif" width="68" height="15"></td>
                    <td>
                        <input type='text' id='strHomePhone1' name='strHomePhone1' size='3' maxlength='3' value='<%=UserInfo.GetHomePhone(0) %>'> -
                        <input type='text' id='strHomePhone2' name='strHomePhone2' size='4' maxlength='5' value='<%=UserInfo.GetHomePhone(1) %>'> -
						<input type='text' id='strHomePhone3' name='strHomePhone3' size='4' maxlength='5' value='<%=UserInfo.GetHomePhone(2) %>'>
                      </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150" height="32"><img src="/images/member/txt_15.gif" width="68" height="15"></td>
                    <td><label for="radio13"></label>
                      <select name='strMobilePhone1' id='strMobilePhone1'>
                        <option value='010' <%=UserInfo.GetMobilePhone(0) == "010" ? "selected='selected'" : "" %>>010</option>
                        <option value='011' <%=UserInfo.GetMobilePhone(0) == "011" ? "selected='selected'" : "" %>>011</option>
                        <option value='016' <%=UserInfo.GetMobilePhone(0) == "016" ? "selected='selected'" : "" %>>016</option>
                        <option value='017' <%=UserInfo.GetMobilePhone(0) == "017" ? "selected='selected'" : "" %>>017</option>
                        <option value='018' <%=UserInfo.GetMobilePhone(0) == "018" ? "selected='selected'" : "" %>>018</option>
                        <option value='019' <%=UserInfo.GetMobilePhone(0) == "019" ? "selected='selected'" : "" %>>019</option>
                      </select>
-
				       <input type='text' name='strMobilePhone2' id='strMobilePhone2' size='4' maxlength='5' value='<%=UserInfo.GetMobilePhone(1) %>'>
-
                       <input type='text' name='strMobilePhone3' id='strMobilePhone3' size='4' maxlength='5' value='<%=UserInfo.GetMobilePhone(2) %>'>
                     </td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td class="small_gray1">커핀그루나루 SMS 문자 서비스를 받아보시겠습니까?      
                      <input type='radio' name='IsSMS' value='Y' id="IsSMS1" <%=UserInfo.IsSMS == "Y" ? "checked='checked'" : "" %>>
                      <label for="IsSMS1">예</label>
                      <input type='radio' name='IsSMS' value='N' id="IsSMS2" <%=UserInfo.IsSMS == "N" ? "checked='checked'" : "" %>>
                      <label for="IsSMS2">아니오</label>
                    </td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td height="40" class="red">수신동의를 하시면 다양한 할인혜택과 이벤트/신상품 정보를 쉽고 빠르게 만나실 수 있습니다.<br>
                      주문 및 배송관련 메일은 수신동의와 관계없이 자동 발송됩니다.</td>
                  </tr>
                </table></td>
              </tr>
              
              <tr>
                <td height="32"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="150"><img src="/images/member/txt_24.gif" width="101" height="15"></td>
                    <td>
                      <select name='n1JoinMotiveType' id='n1JoinMotiveType'>
                        <option value='' <%=UserInfo.JoinMotiveType == 0 ? "selected='selected'":"" %>>========선택========</option>
                        <option value='1' <%=UserInfo.JoinMotiveType == 1 ? "selected='selected'":"" %>>인터넷 검색</option>
                        <option value='2' <%=UserInfo.JoinMotiveType == 2 ? "selected='selected'":"" %>>신문/잡지</option>
                        <option value='3' <%=UserInfo.JoinMotiveType == 3 ? "selected='selected'":"" %>>인터넷 배너광고</option>
                        <option value='4' <%=UserInfo.JoinMotiveType == 4 ? "selected='selected'":"" %>>주위권유</option>
                        <option value='5' <%=UserInfo.JoinMotiveType == 5 ? "selected='selected'":"" %>>기타	광고</option>
                        <option value='6' <%=UserInfo.JoinMotiveType == 6 ? "selected='selected'":"" %>>기타</option>
                        </select>
                      </td>
                    </tr>
                  </table></td>
              </tr>
              </table>
              <table width="98%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="2" bgcolor="#7a2888"><img src="/images/common/clear.gif" width="1" height="1"></td>
              </tr>
            </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td height="40" align="center"><a href="#" id="btnUserSave"><img src="/images/mypage/bt_edit.gif" width="69" height="26"></a> <a href="#" id="btnUserCancle"><img src="/images/franchise/bt_cancle.gif" width="54" height="26"></a></td>
                </tr>
              </table>